package com.cgwx.tmservice.entity.bean;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.stereotype.Component;

/**
 * @author GaoWei
 * @Date 2023/9/1 - 16:39
 */

@Component
public class TmParameterInfo {

    private String id;

    @ApiModelProperty(value = "遥测帧标识符，唯一确定遥测帧代号，例：0_2_1")
    private String tmframeIdentifiers;

    @ApiModelProperty(value = "遥测参数名称")
    private String tmName;

    @ApiModelProperty(value = "起始位置(bit)")
    private Integer tmStartPos;

    @ApiModelProperty(value = "长度(bit)")
    private Integer tmParamLength;

    @ApiModelProperty(value = "遥测参数代号")
    private String tmCode;

    @ApiModelProperty(value = "原码存储方式(0:无符号; 1:有符号; 2: 补码; 3:反码)。 默认值： 0。")
    private Integer tmOriginalType;

    @ApiModelProperty(value = "解析值处理方式cgwx(0:原码; 1:十进制; 2:公式; 3:状态码(十六进制);4:状态码(十进制);5:状态码(二进制); 6:时间; 7:不处理;8:32位单精度浮点数)。默认值：0。")
    private Integer tmAnalyticType;

    @ApiModelProperty(value = "解析值处理参数")
    private String tmAnalyticParam;
}
